Proxy and Caching

Proxy and Caching

am 23.02.2010 06:56:46 von Nilesh Govindrajan

Hi,
I am installing Wibiya toolbar on my site. But the .js file for the
toolbar is large (169 KB), so I'd prefer to compress it and deliver to
the clients to make their experience faster.

But I can't store the file locally because sometimes it may get updated
on wibiya's location.

My server has caching (disk) enabled.

Is it possible to cache the requests by ProxyPass ?

Or there's some other method by which Apache will download the file if
and only if it is updated (mod_cache does this for local files).

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Proxy and Caching

am 23.02.2010 08:58:05 von Igor Cicimov

--001485eba2e8edbb1a04803fe848
Content-Type: text/plain; charset=ISO-8859-1

You can run mod_cache with revers proxy and it will cache the back end files
if you tell it to do. Have a look at mod_expires too for some client side
caching too.

On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" wrote:

Hi,
I am installing Wibiya toolbar on my site. But the .js file for the toolbar
is large (169 KB), so I'd prefer to compress it and deliver to the clients
to make their experience faster.

But I can't store the file locally because sometimes it may get updated on
wibiya's location.

My server has caching (disk) enabled.

Is it possible to cache the requests by ProxyPass ?

Or there's some other method by which Apache will download the file if and
only if it is updated (mod_cache does this for local files).

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

--001485eba2e8edbb1a04803fe848
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You can run mod_cache with revers proxy and it will cache the back end f=
iles if you tell it to do. Have a look at mod_expires too for some client s=
ide caching too.


On Feb 23, 2010 4:57 PM, "Nilesh Govindar=
ajan" <>=
wrote:

Hi,

I am installing Wibiya toolbar on my site. But the .js file for the toolbar=
is large (169 KB), so I'd prefer to compress it and deliver to the cli=
ents to make their experience faster.



But I can't store the file locally because sometimes it may get updated=
on wibiya's location.



My server has caching (disk) enabled.



Is it possible to cache the requests by ProxyPass ?



Or there's some other method by which Apache will download the file if =
and only if it is updated (mod_cache does this for local files).



--

Nilesh Govindarajan

Site & Server Adminstrator





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0" =A0 from the digest: httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org





--001485eba2e8edbb1a04803fe848--

Re: Proxy and Caching

am 23.02.2010 09:00:59 von Igor Cicimov

--001636b148d940395e04803ff300
Content-Type: text/plain; charset=ISO-8859-1

Also have you tried mod_mem_cache instead the disk one?

On Feb 23, 2010 6:58 PM, "Igor Cicimov" wrote:

You can run mod_cache with revers proxy and it will cache the back end files
if you tell it to do. Have a look at mod_expires too for some client side
caching too.

> > On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" wrote:
> > Hi, > I am installi...

--001636b148d940395e04803ff300
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Also have you tried mod_mem_cache instead the disk one?


On Feb 23, 2010 6:58 PM, "Igor Cicimov&qu=
ot; <> wr=
ote:

You can run mod_cache with revers proxy and it will cache th=
e back end files if you tell it to do. Have a look at mod_expires too for s=
ome client side caching too.


>
> On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" < =3D"mailto:lists@itech7.com">lists@itech7.com> wrote:
>
> Hi,
> I am installi...



--001636b148d940395e04803ff300--

Re: Proxy and Caching

am 23.02.2010 14:15:17 von Nilesh Govindrajan

On 02/23/2010 01:30 PM, Igor Cicimov wrote:
> Also have you tried mod_mem_cache instead the disk one?
>
>> On Feb 23, 2010 6:58 PM, "Igor Cicimov" >> > wrote:
>>
>> You can run mod_cache with revers proxy and it will cache the back end
>> files if you tell it to do. Have a look at mod_expires too for some
>> client side caching too.
>>
>> > > On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" >> > wrote: > > Hi, > I am installi...
>>

mod_mem_cache not feasible for me. The server has only 500 MB of RAM
running PHP, Apache, PgSQL.

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org